
// 创建component实例:
export function createComponentInstance(vnode){
    const instance = {
        type: vnode.type,
        vnode,
        props: {},
        proxy: {},
        isMounted: false
    }

    return instance;
}